package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Product;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IProductService {
    int deleteByPrimaryKey(Long id);

    Product selectByPrimaryKey(Long id);

    List<Product> selectAll();

    int insert(Product entity);

    int updateByPrimaryKey(Product entity, String promisename, Long ids);

    List<Product> selectNomal();

    void changeState(Long id);

    PageResult query(QueryObject qo);

}
